// 引入 request 文件
import {
	request,
	saveTraffic
} from '../index.js'


// 获取商家列表
export const getDeskList = (params) => {
	return request({
		url: '/map/getMapSearch',
		method: 'get',
		data: params
	})
}

// 获取商家导航
export const getStoreLocation = (params) => {
	return request({
		url: '/map/getTableMapDetail',
		method: 'get',
		data: params
	})
}

//获取我的桌子信息
export const getMyDeskInfo = (params) => {
	return request({
		url: '/user/tableCollect',
		data: params
	})
}